package com.lagou.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "zdy")
public class ServerConfigUtil {

    //zookeeper服务器连接地址
    private String zkServerConnectUrl;

    //server服务器根节点
    private String serverZkBasePath;


    public String getZkServerConnectUrl() {
        return zkServerConnectUrl;
    }

    public void setZkServerConnectUrl(String zkServerConnectUrl) {
        this.zkServerConnectUrl = zkServerConnectUrl;
    }

    public String getServerZkBasePath() {
        return serverZkBasePath;
    }

    public void setServerZkBasePath(String serverZkBasePath) {
        this.serverZkBasePath = serverZkBasePath;
    }
}
